package cn.edu.zust.se.shop.service;

import cn.edu.zust.se.shop.dto.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-user")
public interface UserService {
    @GetMapping("/users/{id}")
    public UserDto getUserById(@PathVariable("id") int uid);
}
